package xyz.scootaloo.mono.base.lang

import cn.hutool.core.lang.Console
import org.junit.Assert.assertEquals

/**
 * @author flutterdash@qq.com
 * @since 2021/7/29 15:07
 */
interface TestDsl {

    infix fun Any?.shouldBe(expected: Any?) {
        assertEquals(expected, this)
    }

    fun <T> T?.log(): T? {
        Console.log(this)
        return this
    }

    fun pause(any: Any? = null) {
    }

}
